﻿using System;

namespace ActionLogic
{
    /// <summary>
    /// Describes an action executed by <code>ActionExecutor</code>.
    /// </summary>
    public interface IExecutable
    {
        /// <summary>
        /// Invoked when current action executed to put next action in action executor queue.
        /// </summary>
        event Action<PriorityAction> OnActionExecuted;
    }
}
